function doLogin(){
    var url = "login/checkLogin";
	var username;
	var pwd; 
	
	username = $("#username").val();
	pwd = $("#password").val();
		
	$("#the_content").html('');
    $("#the_waiting").html('<img src = "../images/spinner.gif" />');
	 $.post(url, {
        username:username,
        pwd:pwd
    }, function(data) {
        $("#the_waiting").html('');
        $("#the_content").html(data).fadeIn();
    }, "html");
	
}

